package com.frank.entity;

import lombok.Data;
import lombok.ToString;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Primary;

/**
 * @Author: huweifeng
 * @Date: 2022/11/28
 * @Description: @Autowired注解使用
 **/
@Data
@ToString
public class AutowiredAnno {

    @Autowired
    @Qualifier("blue2")
    private Blue blue;
}
